package com.qinglei.recoup.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qinglei.recoup.system.domain.Floor;
import com.qinglei.recoup.system.pojo.FloorShowVO;
import org.apache.ibatis.annotations.Param;

/**
 * @author syp
 */
public interface FloorMapper extends BaseMapper<Floor> {

    IPage<FloorShowVO> showPageFloor( Page<FloorShowVO> page,@Param("buildingId") Integer buildingId);

    String selectNameWithParent(Integer floorId);
}
